﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Newtonsoft.Json;
using System.Diagnostics;

/// <summary>
/// Summary description for User
/// </summary>
public class User
{
    public String name { get; set; }
    public String username { get; set; }
    public String mail { get; set; }
    public String password { get; set; }

    public string serialize()
    {
        string json = JsonConvert.SerializeObject(this, Formatting.Indented);
        return json;
    }

}